/**  
* @Title: IAuthorityAction.java
* @Package cn.net.mtons.action.interfaces.authority
* @Description: TODO
* @author ma jinjian  
* @date 2016年1月23日 下午5:49:44
* @version V1.0  
*/ 
package cn.net.mtons.web.interfaces.authority;

import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.net.mtons.model.entity.form.LoginForm;
import cn.net.mtons.model.entity.vo.AjaxResultVO;

/**
 * @ClassName: IAuthorityAction
 * @Description: TODO
 * @author ma jinjian
 * @date 2016年1月23日 下午5:49:44
 *
 */
public interface IAuthorityAction {

	@ResponseBody
	@RequestMapping(value="/login")
	public AjaxResultVO login(LoginForm form, HttpServletResponse response);
	
	@RequestMapping(value="/logout")
	public AjaxResultVO logout(HttpServletResponse response);
	
	@ResponseBody
	@RequestMapping(value="/list")
	public AjaxResultVO list(HttpServletResponse response);
}
